package org.lboot.flow.event.system;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.lboot.flow.module.work.FlowWork;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Slf4j
@Getter
public class FlowEndEvent extends ApplicationEvent {
    FlowWork flowWork;

    public FlowEndEvent(Object source, FlowWork flowWork) {
        super(source);
        this.flowWork = flowWork;
    }

    public FlowEndEvent(Object source, Clock clock) {
        super(source, clock);
    }
}
